<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
        <html><head>
        <link rel="stylesheet" type="text/css" href="apidocs.css"/>
        <title>API docs for &ldquo;sympy.utilities.memoization&rdquo;</title>
        </head>
        <body><h1 class="module">Module s.u.memoization</h1><span id="part">Part of <a href="sympy.utilities.html">sympy.utilities</a></span><div class="toplevel"><div class="undocumented">Undocumented</div></div><table class="children"><tr class="function"><td>Function</td><td><a href="#sympy.utilities.memoization.recurrence_memo">recurrence_memo</a></td><td><div><p>Memo decorator for sequences defined by recurrence</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.utilities.memoization.assoc_recurrence_memo">assoc_recurrence_memo</a></td><td><div><p>Memo decorator for associated sequences defined by recurrence starting 
from base</p>
</div></td></tr></table>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.utilities.memoization.recurrence_memo">recurrence_memo(initial):</a></div>
            <div class="functionBody"><div><p>Memo decorator for sequences defined by recurrence</p>
<p>See usage examples e.g. in the specfun/combinatorial module</p>
</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.utilities.memoization.assoc_recurrence_memo">assoc_recurrence_memo(base_seq):</a></div>
            <div class="functionBody"><div><p>Memo decorator for associated sequences defined by recurrence starting 
from base</p>
<p>base_seq(n) -- callable to get base sequence elements</p>
<p>XXX works only for Pn0 = base_seq(0) cases XXX works only for m &lt;= n 
cases</p>
</div></div>
            </div></body>
        